|
|
Program ended abnormally on 16/12/2003 17:08, Due to a catastrophic Tom
Melly error:
> According to the docs (6.1.5.5)
>
> "For example...
> color My_Color red 0.5
> this substitutes whatever was the red component of My_Color with a red
> component of 0.5 however...
> color My_Color + red 0.5
> adds 0.5 to the red component of My_Color"
>
> But the following scene seems to contradict this:
>
> #version 3.5;
>
> #declare MyCol1= <1,1,0>;
> #declare MyCol2= <0,0,1>;
>
> //Legal
> #declare MyCol1a= MyCol1 * MyCol2;
>
> // All non-legal
> //#declare MyCol1b= MyCol1 * blue 0.5;
> //#declare MyCol1c= MyCol1 blue 0.5;
> //#declare MyCol1d= MyCol1 MyCol2;
>
> ... so, is this a bug in pov, the docs, or my understanding of them?
Hard to say where the bug lies, but the behaviour does contradict the docs.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
|